import request from '@/utils/request'
export function getList(params) {
    return request({
        url: '/video/list',
        method: 'POST',
        data:params
    })
    .then(res => {
        return res && res.records
    })
}
export function getDetail(params) {
    return request({
        url: '/video/detail',
        method: 'POST',
        data:params
    }).then(data=>data)
}